home *** CD-ROM | disk | FTP | other *** search
/ Aminet 37 / Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso / Aminet / dev / lang / sofa.lha / sofa / smalleiffel / contrib / edb / READ_ME < prev    next >
Lisp/Scheme  |  2000-03-25  |  2KB  |  59 lines

  1. Collection of scripts to use gdb as source level debugger for SmallEiffel.
  2.  
  3. --- Contents
  4. (1) Emacs code
  5.  edb.el        xemacs interface of gdb for debugging SmallEiffel.
  6.  edb19.el    emacs-19.xx interface gdb for debugging SmallEiffel.
  7. (2) Perl scripts
  8.  sec        SmallEiffel compiler driver
  9.  add-line-directive
  10.         Patch script for C codes generated by SmallEiffel to use
  11.         gdb source level debugger. Change in-lined
  12. debugging information
  13.                 to the line directives (#line ...).
  14.  move-if-changed
  15.         script called by add-line-directive
  16.  
  17. (3) include file
  18.  gc-inc: include file template to use conservative gc package.
  19.  
  20. -- Requirement
  21.   SmallEiffel -0.79
  22.   xemacs20.x or emacs19.x
  23.   gdb-4.17
  24.   perl5.004
  25.  
  26. -- How to install
  27. 1. Place edb.el or edb19.el under the emacs load-path directory. Byte
  28. compiling is recommended.
  29.   Insert autoload command into your .emacs
  30.  
  31.  (autoload 'edb "edb" nil t)
  32.  
  33. 2. Place 3 perl scripts on your favarite directory. chmod +x them.
  34.    These scripts assumes perl is installed at /usr/local/bin.  If the
  35. location is different,
  36.    rewrite header comment of these scripts.
  37. 3. If you want to use Boehm's gc library, place gc-inc at /usr/local/include.
  38.    Remove first #  of the line `#$gc = "c";' line of the `sec' script.
  39.    The gc library is assumed to be installed under /usr/local.
  40.  
  41. -- How to use.
  42. 1. compile
  43.  % sec target root [option ..]
  44.     target : target program name
  45.     root   : root class name
  46.     option : assertion level -debug ~ -boost, -opt
  47.              -c c-source-file
  48.  (Caution.  root creation procedure must be `make'.)
  49.  
  50. 2. Debug
  51.  Almost same as gdb (command name is edb)
  52.  
  53. --------------
  54.  
  55. Masato Mogaki mmogaki@kanagawa.hitachi.co.jp
  56. DA Development Dept.
  57. GPCD Hitachi,Ltd.
  58.  
  59.